package c.e.a.a.f;

import b.i.b.f;
import java.util.concurrent.Executor;

/* compiled from: SafeLoggingExecutor */
public class g implements Executor {
    public final Executor a;

    /* compiled from: SafeLoggingExecutor */
    public static class a implements Runnable {
        public final Runnable a;

        public a(Runnable runnable) {
            this.a = runnable;
        }

        public void run() {
            try {
                this.a.run();
            } catch (Exception e) {
                f.p0("Executor", "Background execution failure.", e);
            }
        }
    }

    public g(Executor executor) {
        this.a = executor;
    }

    public void execute(Runnable runnable) {
        this.a.execute(new a(runnable));
    }
}
